package cn.wolfcode.mapper;

import cn.wolfcode.domain.Choice;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface ChoiceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Choice record);

    Choice selectByPrimaryKey(Long id);

    List<Choice> selectAll();

    int updateByPrimaryKey(Choice record);

    List<Choice> selectForList(QueryObject qo);

}